package cn.edu.hatu.bookshop.entity;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Cart {
    private int cartId;
    private int customerId;
    private int bookId;
    private int count;
    private double price;
    private String name;
    public Cart( int customerId, int bookId, int count, double price ,String name) {
        this.customerId = customerId;
        this.bookId = bookId;
        this.count = count;
        this.price = price;
        this.name=name;
    }

    public Cart() {
    }
}
